package com.fadadianqi.mall.model;


import com.fadadianqi.commons.BaseObject;


/**
 * 导航数据表字段的排序
 * <p/>
 * nav_layer1_orderby0
 *  nav_layer2_orderby0
 *  nav_layer2_orderby1
 *  nav_layer2_orderby2
 * nav_layer1_orderby1
 *  nav_layer2_orderby0
 *  nav_layer2_orderby1
 * nav_layer1_orderby2
 *  nav_layer2_orderby0
 *  nav_layer2_orderby1
 *      nav_layer3_orderby0
 *          nav_layer4_orderby0
 *          nav_layer4_orderby1
 *      nav_layer3_orderby1
 *  nav_layer2_orderby2
 *  nav_layer2_orderby3
 * nav_layer1_orderby3
 *  nav_layer2_orderby0
 *  nav_layer2_orderby1
 *  nav_layer2_orderby2
 *  nav_layer2_orderby3
 * <p/>
 * 查找所有导航可以是  SELECT  ***** ORDER BY layer, orderby
 *
 * @author aroot
 */
public class Nav extends BaseObject {

    /**
     *
     */
    private static final long serialVersionUID = 9112803032686478131L;

    private String prefixURI;
    private String suffixURI;
    private String rootId;
    private String parentId;
    private String name;
    private int orderby; // 在当前层下排序字段
    private int layer; // 导航的层次
    private Boolean isHidden = Boolean.FALSE;

    public Boolean getIsHidden() {
        return isHidden;
    }

    public void setIsHidden(Boolean isHidden) {
        this.isHidden = isHidden;
    }

    public String getPrefixURI() {
        return prefixURI;
    }

    public void setPrefixURI(String prefixURI) {
        this.prefixURI = prefixURI;
    }

    public String getSuffixURI() {
        return suffixURI;
    }

    public void setSuffixURI(String suffixURI) {
        this.suffixURI = suffixURI;
    }

    public String getRootId() {
        return rootId;
    }

    public void setRootId(String rootId) {
        this.rootId = rootId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOrderby() {
        return orderby;
    }

    public void setOrderby(int orderby) {
        this.orderby = orderby;
    }

    public int getLayer() {
        return layer;
    }

    public void setLayer(int layer) {
        this.layer = layer;
    }
}
